package com.ly.demo.weixin.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 获取接口授权
 * @author: nieguochen
 * @date: 2024/1/16 09:24
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GetAccessTokenByOoauth2Req {
    /**
     * 小程序ID
     */
    private String appid;
    /**
     * 密钥
     */
    private String secret;

    private String code;
    /**
     * 授权类型
     */
    private String grant_type="authorization_code";
}
